package com.daxt.model.service.receive;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "在线接收数据", description = "在线接收数据")
@TableName("receive_data")
public class ReceiveData implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id", name = "id")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	@ApiModelProperty(value = "列", name = "extColumn")
    private String dataColumn;
	
	@ApiModelProperty(value = "列值", name = "columnComment")
    private String dataValue;
	
	@ApiModelProperty(value = "列值描述", name = "dataValueComment")
    private String dataValueComment;
    
	@ApiModelProperty(value = "列描述", name = "dataColumnComment")
    private String dataColumnComment;
    
	@ApiModelProperty(value = "父id  没有传0", name = "isList")
    private String parentId;
	
	@ApiModelProperty(value = "排序", name = "isQuery")
    private Integer sort;
	
	@TableField(exist = false)
	List<ReceiveFile> files=new ArrayList<ReceiveFile>();
}